package com.stone.design.practice.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author Stone
 * @version V1.0
 * @description:
 * @date 6/28/18 22:23
 * @email redsstone@163.com
 */

@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface BookAnnotation {

    String bookName();

    String heroine();

    String briefOfBook();

    int sales() default 10000;
}
